package net.tngou.test;

import java.io.IOException;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

public class JsoupTest {

	public static void main(String[] args) throws IOException {
		String url="http://mp.weixin.qq.com/s?__biz=MjM5MjEyOTEyMQ==&mid=215371763&idx=1&sn=75989fabc722befc5edf5e538d96e8bd&3rd=MzA3MDU4NTYzMw==&scene=6#rd";
		Document doc = Jsoup.connect(url).get();
		String title = doc.title();
		String message = doc.body().getElementById("js_content").text();
		System.err.println(title);	
		System.err.println(message);
	}

}
